<template>
  <div class="box">
    <top-bar :title="'支付结果'" goIndex/>
    <div class="scroll">
    </div>
  </div>
</template>

<script>
import topBar from './topBar'

export default {
  data () {
    return {
      url: '',
      msg: '',
      toastType: false,
    }
  },
  components: {
    topBar
  },
  created () {
    if (this.$route.query.back_url) {
      window.location.href = this.$route.query.back_url
    } else {
      this.Toast(this.$route.query.msg, 500)
      this.$router.push({path: '/me/index'})
    }
  },
}
</script>

<style lang="scss" scoped>
.box {
  padding: 0.75rem 0;

  /deep/ .title {
    padding: 0 0.48rem;
    margin-bottom: 0.48rem;
  }

  .scroll {
    height: 8.5rem;
    overflow: scroll;
  }
}
</style>
